<template>
    <section>
        <span class="myTime">{{ formatTime }}</span>
    </section>
</template>

<script>
    export default {
        name: "TimeBlock",
        props:{
            time:{
                type:String,
                required:false,
                default:''
            }
        },
        computed:{
            formatTime(){
                if(!this.time || this.time.lang==0){
                    return ''
                }
                return this.time.substr(11,15)
            }
        }
    }
</script>

<style scoped>

</style>